﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

/// <summary>
/// 枚举集中管理
/// </summary>
namespace XbsWebAPI.EntityFrameworkCore.Entities.Enums
{

    #region 房态



    #endregion

    #region 房型

    /// <summary>
    /// 房型状态，0-待上架，1-已上架，2-已下架
    /// </summary>
    public enum HouseTypeStatus
    {
        /// <summary>
        /// 待上架
        /// </summary>
        [Description("待上架")]
        ToStayOn = 0,

        /// <summary>
        /// 已上架
        /// </summary>
        [Description("已上架")]
        HasBeenOn = 1,

        /// <summary>
        /// 已下架
        /// </summary>
        [Description("已下架")]
        HasRemove = 2

    }

    /// <summary>
    /// 淡/旺季状态 0-淡季，1-旺季
    /// </summary>
    public enum SeasonStatus
    {
        /// <summary>
        /// 淡季
        /// </summary>
        LowSeason = 0,

        /// <summary>
        /// 旺季
        /// </summary>
        HighSeason = 1
    }

    /// <summary>
    /// 床型
    /// </summary>
    public enum BedType
    {
        /// <summary>
        /// 单人床
        /// </summary>
        [Description("单人床")]
        Single = 0,

        /// <summary>
        /// 大床房
        /// </summary>
        [Description("大床房")]
        BigBed = 1,

        /// <summary>
        /// 双床房
        /// </summary>
        [Description("双床房")]
        Double = 2,

        /// <summary>
        /// 多床房
        /// </summary>
        [Description("多床房")]
        More = 3,
    }

    #endregion

    #region 房间

    /// <summary>
    /// 绑定状态 0-未绑定，1-已绑定
    /// </summary>
    public enum RoomBindingStatus
    {
        /// <summary>
        /// 未绑定
        /// </summary>
        Unbind = 0,

        /// <summary>
        /// 已绑定
        /// </summary>
        Bingding = 1
    }

    /// <summary>
    /// 房间使用状态 0-空房，1-在住，2-预定，3-待续住,4-待退房，5-已退房
    /// </summary>
    public enum RoomUsingStatus
    {
        /// <summary>
        /// 空房
        /// </summary>
        Free = 0,

        /// <summary>
        /// 在住
        /// </summary>
        Living = 1,

        /// <summary>
        /// 预定
        /// </summary>
        Booking = 2,

        /// <summary>
        /// 待续住
        /// </summary>
        ToBeContinueToLive = 3,

        /// <summary>
        /// 待退房
        /// </summary>
        ToCheckOut = 4,

        /// <summary>
        /// 已退房
        /// </summary>
        CheckedOut = 5,
    }

    #endregion


    #region 基础配置

    /// <summary>
    /// 配置类型
    /// </summary>
    public enum ConfigType
    {
        /// <summary>
        /// 通用
        /// </summary>
        Basic= 0,


    }

    #endregion

    #region 入住管理

    /// <summary>
    /// 预定渠道 0-小程序，1-其它系统
    /// </summary>
    public enum BookingChannel
    {
        /// <summary>
        /// 小程序
        /// </summary>
        XBS = 0,

        /// <summary>
        /// 其它系统
        /// </summary>
        OTA = 1,
    }

    #endregion

    #region 订单管理

    /// <summary>
    /// 支付状态
    /// </summary>
    public enum PaymentStatus
    {
        //订单支付状态有问题需要商讨？？？？？？
    }

    #endregion



    /// <summary>
    /// 排序类型
    /// </summary>
    public enum OrderByType
    {
        ASC = 0,
        DESC = 1,
    }

    /// <summary>
    /// 订单状态 0-待付款、1-待确认、2-已确认、3-已完成、4-已取消、5-退款
    /// </summary>
    public enum OrderStatus
    {
        /// <summary>
        /// 待付款
        /// </summary>
        WaitPayment = 0,

        /// <summary>
        /// 待确认
        /// </summary>
        WaitConfirm = 1,

        /// <summary>
        /// 已确认
        /// </summary>
        Confirmed = 2,

        /// <summary>
        /// 已完成
        /// </summary>
        Completed = 3,


        /// <summary>
        /// 已取消
        /// </summary>
        Cancel = 4,

        /// <summary>
        /// 退款
        /// </summary>
        Refund = 5,
    }

    //public enum Order

}
